//
//  HttpRequest.h
//  NanXiangHome1
//
//  Created by zuqiu on 16/8/16.
//  Copyright © 2016年 zuqiu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking/AFNetworking.h>

@interface HttpRequest : NSObject
////下载图片
//+(void)download:(NSString *)download httpManagerTodayRequestComplete:(void(^)(NSString *result))complete;

//
//+ (void)sendfile:(NSString *)file andtoken:(NSString *)token andRequestComplete:(void(^)(NSString *fileName))complete;
//
////得到图片的链接
//+ (void) parameter:(NSString *)parameter  httpManagerTodayRequestComplete:(void(^)(NSDictionary *result))complete;

+ (void)mapService:(NSDictionary *)dic andToken:(NSString *)token  andView:(UIView *)view httpManagerTodayRequestComplete:(void(^)(NSString *result,NSArray *arr))complete;

+ (void)editView:(NSDictionary *)dic andToken:(NSString *)token  andView:(UIView *)view httpManagerTodayRequestComplete:(void(^)(NSString *result,NSString *url))complete;

// 照片上传
+ (void)sendphoto:(NSDictionary *)dic andToken:(NSString *)token  andView:(UIView *)view httpManagerTodayRequestComplete:(void(^)(NSString *result,NSString *fileName))complete;
+ (void)queryJW:(NSDictionary *)dic andToken:(NSString *)token  andView:(UIView *)view httpManagerTodayRequestComplete:(void(^)(NSString *result,NSArray *objectlist))complete;

@end
